package com.github.thinwonton.springboot.showcase.rmq;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RMQConfig {
    public static String QUEUE_NAME = "springboot_queue";

    @Bean
    public Queue queue() {
        return new Queue(QUEUE_NAME);
    }

}
